<template>
<div class="row">
  <my-tabs :tabs="tabs"></my-tabs>
  <router-view></router-view>
</div>
</template>

<script>
import _ from 'lodash'
import locales from '../locales/pcShare.js'
import * as actions from 'share/server/vuex/actions/streamsrc.js'

export default {
  locales,
  vuex: {
    actions
  },
  data () {
    return {
      tabs: [{
        name: this.$t('tabs.softenc'),
        url: '/pcshare'
      }, {
        name: this.$t('tabs.superhdscreen'),
        url: '/pcshare/superhdscreen'
      }]
    }
  },
  ready () {
    this.doLoadSoftEncs({init: true})
    this.doLoadSuperHdScreens({init: true})
  }
}
</script>

<style>
</style>